page setup dialog: Prevent cascading paper dialogs
authorMatthias Clasen <mclasen@redhat.com>
Sat, 29 Aug 2020 20:29:28 +0000 (16:29 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 29 Aug 2020 20:30:34 +0000 (16:30 -0400)
commit8e74687ab30a9579234da3e0d8d92ae22aaee19a
tree1d20218a77172eaa30d7e782ab2bdbbeb0638294
parent15c6760a96379ba8c6e6ed21bcc3683437a7bfeb
page setup dialog: Prevent cascading paper dialogs

We trigger the paper dialog when the "manage" item
in the dropdown is selected. But the selection also
changes due to internal changes, such as reloading
the custom paper list when the paper dialog is
closed. We need to be extra careful to avoid triggering
another paper dialog when that happens.

Fixes: #3098
gtk/gtkpagesetupunixdialog.c